module.exports = app => {
    const { STRING, INTEGER, DATE } = app.Sequelize;

    const Admin = app.model.define('admin', {
        id: {
            type: INTEGER,  //整型
            primaryKey: true,  //主键
            autoIncrement: true,  //自增
        },
        user_name: STRING(255),
        password: STRING(255)
    })
    return Admin
}